/**
 * @author ZhongJiang
 */


var articleEditor_inputEditor;

KindEditor.ready(function(K) {
	var editor1 = K.create('textarea[id="inputTextArea"]', {
		//cssPath : 'plugins/editor/plugins/code/prettify.css',
		uploadJson : '/uploads/upload_json.jsp',
		//fileManagerJson : 'plugins/editor/jsp/file_manager_json.jsp',
		allowFileManager : true,

		resizeType : 0,
		minWidth: 400,
		minHeight: 180,
		items : [
			'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
			'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
			'insertunorderedlist', '|', /* 'emoticons', */ 'image','media' /* ,'link' */]
	});
	prettyPrint();
	articleEditor_inputEditor = editor1;
});